package com.liyiwei.design.decorator;

public class ConcreatBDecotator extends Decotator {

    public ConcreatBDecotator(Component component) {
        super(component);
    }

    @Override
    public void doOperation() {
        super.doOperation();
        System.out.println("B装饰了抽象角色，做了附加的责任");
    }
}
